package com.blb.java11student.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("student")
public class Student {

  @TableId(type = IdType.AUTO)
  private long stuId;
  private String stuNo;
  private String stuName;
  private long stuAge;
  private String stuAddress;
  private String stuGender;
  private long stuTypeId;
  private String stuPicture;

  @TableField(exist = false)
  private StudentType studentType;

}
